<template>
	<view>
		<scroll-view scroll-y class="page">
			<!-- 头部 -->
			<cu-custom bgColor="bg-rgb" :isBack="true">
				<block slot="backText">返回</block>
				<block slot="content">{{name}}</block>
			</cu-custom>
			<web-view :webview-styles="webviewStyles" :src="url"></web-view>
		</scroll-view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				name: '',
				url: '',
				webviewStyles: {
					progress: {
						color: '#FF3333'
					}
				}
			}
		},
		onLoad(e) {
			this.url = uni.getStorageSync('url');;
			console.log(this.url)
			this.name = uni.getStorageSync('name');;
		},
		methods: {

		},
	}
</script>

<style lang="less">

</style>
